home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / c / GED4DCC.lha / dice_ErrorParser.doc next >
Encoding:
Text File  |  1995-02-26  |  1.5 KB  |  62 lines

  1. dice/DICE_ERROR_PARSER                         dice/DICE_ERROR_PARSER
  2.  
  3.  We handle the following Rexx Commands:
  4.  
  5.      QUIT
  6.           Terminate the error parser
  7.  
  8.      NEXT    <stem>
  9.  
  10.           Advance the current pointers to  the  next  entry.  If  nothing  is
  11.           active, we wrap around to the beginning again
  12.  
  13.      FIRST   <stem>
  14.  
  15.           Go to the first error
  16.  
  17.      PREV    <stem>
  18.  
  19.           Advance the current pointers to the previous entry. If  we  are  at
  20.           the beginning, don't do anything.
  21.  
  22.      CURRENT <stem>
  23.  
  24.           Return information on the current error
  25.  
  26.      CLEAR
  27.  
  28.           Clear out all errors stored
  29.  
  30.      TTXSAME "<file>" "<project>" "<macro>"
  31.  
  32.           Load a file into the error parsing. A string containing  the  lines
  33.           which  correspond  to the source is returned. This string is not to
  34.           be freed.
  35.  
  36.      LOAD    "<error>" "<dir>" "<sourcefile>" <args>
  37.  
  38.           Load errors into the parser
  39.  
  40.  
  41.  Where <stem> Is any valid rexx variable name and it will contain the
  42.  following on return:
  43.  
  44.      FILE:   The name of the file to edit
  45.  
  46.      DIR:    The directory that the file is relative to
  47.  
  48.      LINE:   The line number of the file to go to
  49.  
  50.      ARGS:   The REXX arguments associated with the compile command
  51.  
  52.      COL:    The column number in the file
  53.  
  54.      ERRNO:  The error number
  55.  
  56.      STRING: The error message to be printed out
  57.  
  58.      TEXT:   The complete text of the original line
  59.  
  60.      FPATH:  The full pathname of the file
  61.  
  62.